$("#sub").click(function () {
    search();
});
var search=$(function () {
    var key=$("#putkey").val();
    window.location.href="/passer_war_exploded/page/search/"+key;
});